package com.hb.game.pk.adpter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hb.game.pk.R;
import com.hb.game.pk.beans.PaidBean;

public class PaidListAdpter extends BaseQuickAdapter<PaidBean.DataBean.ListBean, BaseViewHolder> {
    public PaidListAdpter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, PaidBean.DataBean.ListBean item) {
        helper.setVisible(R.id.tv_name, true);
        helper.setText(R.id.tv_name, item.getRemark());
        helper.setText(R.id.tv_money, (Float.parseFloat(item.getMoney()) / 100f) + "");
        helper.setText(R.id.tv_time, item.getCreatime());
    }
}
